export interface CreateOrUpdateCoachesRequestData {
  id?: string
  desc: string
  name: string
  phone: string
  gender: number
  avatar: string
  age: number
}
export interface COUCoachCourseRequestData {
  avatar: string
  coachId: number | null
  coachName: string
  courseId: number | null
  courseName: string
  type: string
  desc: string
  id?: number | null
  image: string
  time: string
  typeId?: string
  typeName: string
}

export interface GetCoachesRequestData {
  /** 当前页码 */
  pageNum: number
  /** 查询条数 */
  pageSize: number
  /** 查询参数：用户名 */
  name?: string
  /** 查询参数：手机号 */
  phone?: string
}

export interface GetCoachCourseRequestData {
  /** 当前页码 */
  pageNum: number
  /** 查询条数 */
  pageSize: number
  time?: string
}

export interface GetCoachesData {
  id: string
  desc: string
  name: string
  phone: string
  gender: number
  avatar: string
  age: number
}

export type GetCoachesResponseData = ApiResponseData<{
  rows: GetCoachesData[]
  total: number
}>

export type GetCoachesListResponseData = ApiResponseData<GetCoachesData[]>

export type GetCoachCourseListResponseData = ApiResponseData<{
  rows: COUCoachCourseRequestData[]
  total: number
}>
